package com.lingyue.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @Description: TODO
 * @Author: BaiJinhua
 * @Date: 2020-04-08 15:12
 * @See: com.lingyue.entity.dto
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
@Setter
@Getter
@ToString
public class CustomerRoleDTO {

    @ApiModelProperty(value = "客户数据唯一值")
    @JsonProperty("customer_unique_key")
    @NotBlank(message = "customer_unique_key not be empty")
    private String customerUniqueKey;

    @ApiModelProperty(value = "客户编号")
    @JsonProperty("customer_id")
    @NotBlank(message = "customer_id not be empty")
    private String customerId;

    @ApiModelProperty(value = "客户角色")
    @NotBlank(message = "roles not be empty")
    private String roles;
}
